<% if @show -%>
<div class="resultsbox">
<% for item in @search_list -%>
	<% if item.class == ActionItem -%>
		<% content_tag :a, :href => '/finances/edit_fund/' + item.id.to_s do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_10.png', :class => 'icon' -%>
			<%= highlight(item.shead, @input ) -%>
		<% end -%>
	<% elsif item.class == Project -%>
		<% content_tag :a, :href => '/finances/edit_fund/' + item.id.to_s do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_27.png', :class => 'icon' -%>
			<%= highlight(item.shead, @input ) -%>
		<% end -%>
	<% elsif item.class == Contact -%>
		<% content_tag :a, :href => '/finances/edit_fund/' + item.id.to_s do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_71.png', :class => 'icon' -%>
			<%= highlight(item.shead, @input ) -%>
		<% end -%>
	<% elsif item.class == Fund -%>
		<% content_tag :a, :href => '/finances/edit_fund/' + item.id.to_s do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_56.png', :class => 'icon' -%>
			<%= highlight(item.shead, @input ) -%>
		<% end -%>
	<% elsif item.class == LineItem -%>
		<% content_tag :a, :href => '/finances/edit/' + item.id.to_s do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_42.png', :class => 'icon' -%>
			<%= highlight(item.shead, @input ) -%>
		<% end -%>
	<% end -%>
<% end -%>
</div>
<% end -%>

